<?php
include_once('common/header.php');
if($AppUI->id <= 0 || (isset($_SESSION['user']) && ($_SESSION['user'] <= 0))) {
	Vfriend_Function::redirect(HOST_BACKEND);
}
$strRefer	= Vfriend_Function::base64D($objRequest->getParam('refer',''));
if($strRefer == '') $strRefer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : (HOST_BACKEND . 'place');
$intUserId 		= $objRequest->getParam('userid', 0);
$objVfriendUser	= new Vfriend_User();
$objUser		= $objVfriendUser->getFull($intUserId);
$this->view->objUser 	= $objUser;
$this->view->refer 		= $strRefer;
?>